home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18070 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.minn.net!news
  2. From: gruch@minn.net
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Watcom C/C++ 10.0 16 bit DOS interrupt problems
  5. Date: Thu, 18 Apr 1996 20:16:29 GMT
  6. Organization: Minn Net
  7. Message-ID: <4l67u3$kg9@cobra.Minn.Net>
  8. NNTP-Posting-Host: dialup-33.minn.net
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. I'm not sure if this is the proper forum for this question but, here
  12. goes...  I've got Watcom version 10.0 and Microsoft C version 6.0.
  13. I've got some interrupt driven serial routines that my co-workers and
  14. I developed a couple of years ago.  When we changed to Watcom... we
  15. attempted to compile them under 16 bit DOS without success.  The
  16. routines compile and run, but when the interrupt fires bad things
  17. happen.  Usually- It's bad enough to have to re-boot the machine.
  18. Watching it in the debugger- a few lines into the interrupt handler
  19. all of the variables mysteriously change values (I assume this has
  20. something to do with the DS register changing).  Towards the end of
  21. the handler, everything reverts back to normal... This changing of
  22. variables is what is causing the big crash.  
  23.  
  24. I've been pulling my hair out over this one for weeks.... Here's the
  25. kicker... It compiles and runs just fine if I compile it for 32 bit
  26. DOS using DOS4GW.
  27.  
  28. Anyone who has experience in this realm- Your assistance would be
  29. appreciated.  Thanx.
  30.  
  31. ~Gerry.
  32.  
  33.